package com.kinghunt.misp.dal.dao.userx;

import com.kinghunt.misp.dal.model.userx.OrganizationDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 机构
* Created by Mybatis Generator on 2023/07/04
*/
public interface OrganizationDAO {
    int deleteByPrimaryKey(Long id);

    int insert(OrganizationDO record);

    int insertSelective(OrganizationDO record);

    OrganizationDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrganizationDO record);

    int updateByPrimaryKey(OrganizationDO record);

    List<OrganizationDO> selectByAppCode(String appCode);

    List<OrganizationDO> selectByName(@Param("name") String name, @Param("appCode") String appCode);
}